﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>mqwEditorPHP</title>
<script language="javascript">
<!--//
	function chk()
	{
		GetContent()
		//var x=document.all("hidContent").value;
		//alert(x);
	}
	
	function GetContent()//提取编辑器内容
	{
		document.all("hidContent").value=Composition.document.body.innerHTML;
	}
//-->
</script>
</head>
<body>
<div align="center">
  <form id="form1" name="form1" method="post" action="" onsubmit="return chk();">
    <table width="90%" height="144" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><a href="javascript:chk();">内容</a> ： <div id="EditContent"></div></td>
      </tr>
      <tr>
        <td>
		<div align="center">
		<input type="hidden" name="hidContent" />
         <iframe scrolling="no" src="menu.htm" frameborder="0" width="700" height="400" id="mqwEditor" name="mqwEditor"></iframe>
        </div></td>
      </tr>
      <tr>
        <td><div align="center">
          <input type="submit" name="Submit" value="提交" />
        </div></td>
      </tr>
    </table>
    </form>
</div>
</body>
</html>
